import { getAnswerResult } from '../../utils/util'

Component({
  properties: {
    results: {
      type: Array,
      default: () => []
    }
  },

  data: {
    
  },

  methods: {
    getAnswerResult,
    goDetails (e) {
      const { id } = e.currentTarget.dataset
      wx.navigateTo({
        url: `/pages/history-details/index?id=${id}`,
      })
    }
  }
})
